using System;

namespace DDW
{
	public struct Token
	{
		public TokenID ID;
		public int Data; // index into data table

		public Token(TokenID id)
		{
			this.ID = id;
			this.Data = -1;
		}
		public Token(TokenID id, int data)
		{
			this.ID = id;
			this.Data = data;
		}

		public override string ToString()
		{
			return this.ID.ToString();
		}
	}
}
